package StudyCode.summary.Basic.numberformat;

/**
 * 版权所有 科技与人文(www.tah1986.com)
 */
public class ThousandsSeparator {
	public static void main(String[] args) {
		System.out.printf("%,d\n", 12345);
		System.out.printf("%,.2f\n", 12345.67);
		System.out.printf("%,.2f", 12345678.9);
	}
}
